<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.thymeleaf.org"
      layout:decorator="layout/pc_master">
<div layout:fragment="content" class="section page-content">
    <link rel="stylesheet" href="/pc/css/center/account/index.css">
    <!-- s: 导航 -->
    <div class="breadcrumb-wrap">
        <div class="layui-main clearfix">
            <div class="breadcrumb">
                <a href="/">首页</a> - <a href="/center">用户中心</a> - 提现
            </div>
        </div>
    </div>
    <!-- e: 导航 -->
    <div class="section page-content">
        <div class="layui-main clearfix">

         <div th:include="layout/center_left :: center_left" class="manage-aside"></div>

            <div class="manage-main">
                <ul class="layui-nav nav main-nav">
                    <li class="layui-nav-item">
                        <a href="/center/account">
                            钱包
                        </a>
                    </li>

                    <li class="layui-nav-item">
                        <a href="/center/account/details">
                            收支明细
                        </a>
                    </li>

                    <li class="layui-nav-item layui-this">
                        <a href="/center/account/withdrawal">
                            提现
                        </a>
                    </li>

                    <li class="layui-nav-item">
                        <a href="/center/account/exchange">
                            兑换
                        </a>
                    </li>
                    <span class="layui-nav-bar"></span></ul>

                <div class="main-content">
                    <div class="layui-form-nav" style="margin-bottom: 50px;">
                        <a href="/center/account/withdrawal" class="layui-btn  layui-btn-sm layui-btn-default">我要提现</a>
                        <a href="/center/account/withdrawal/way" class="layui-btn  layui-btn-sm layui-btn-primary">提现方式</a>
                        <!-- <a href="/center/account/withdrawal/orders" class="layui-btn layui-btn-sm layui-btn-primary" >提现记录</a> -->
                    </div>
                    <form action="/m/ajax/center/account/withdrawal/apply" bottlecms-form-ajax="" class="bcui-form" method="post" refresh="refresh">
                        <div style="">
                            您的余额：<font color="#F60">¥[[${money}]]</font>
                            <br>
                            可提现金额：<font color="#F60">¥[[${money}]]</font>
                        </div>
                        <div class="form-item">
                            <input name="cash" style="" placeholder="请输入金额/元" type="text" min="1" step="1">
                        </div>
                        <div class="ways">
                            <br>
                            <a class=" item" th:if="${isBindWeixin}">
                                <label>
                                    <span>
                                       <img src="/m/img/payway/wechat.png" height="50" width="50"/>
                                        微信
                                    </span>
                                </label>
                            </a>
                            <br>
                            <hr>
                            <a class=" item" href="/center/account/withdrawal/way">
                                <label>
                                    <span>
                                        <svg t="1555727617877" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4348"><path d="M532 132.8l0 303.2 303.2 0c26.4 0 48 21.6 48 48 0 26.4-21.6 48-48 48l-303.2 0 0 303.2c0 26.4-21.6 48-48 48-26.4 0-48-21.6-48-48l0-303.2-303.2 0c-26.4 0-48-21.6-48-48 0-26.4 21.6-48 48-48l303.2 0 0-303.2c0-26.4 21.6-48 48-48C510.4 84.8 532 106.4 532 132.8z" p-id="4349" data-spm-anchor-id="a313x.7781069.0.i20"></path></svg>
                                        提现方式
                                    </span>
                                </label>
                            </a>
                        </div>
                        <div style="padding: 20px 10px;">
                            <button class="btn btn-block" type="submit">
                                确认提现
                            </button>
                        </div>
                    </form>

                    <p style=" line-height:1.3; font-size:14px;  text-align:center;">
                        提现前请务必查看
                        <a class="_color" href="/common/about/withdrawalexplain">
                            <u>
                                提现说明
                            </u>
                            &gt;&gt;
                        </a>
                    </p>

                    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 100px;">
                        <legend>提现记录</legend>
                    </fieldset>


                    <div class="layui-form">
                        <table class="layui-table">
                            <colgroup>
                                <col width="170">
                                <col width="100">
                                <col width="100">
                                <col width="100">
                                <col width="100">
                                <col width="170">
                            </colgroup>
                            <thead>
                            <tr>
                                <th>时间</th>
                                <th>金额</th>
                                <th>提现方式</th>
                                <th>姓名</th>
                                <th>状态</th>
                                <th>审核时间</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr th:each="item:${WithdrawalOrdersRecord}">
                                <td th:text="${#dates.format(item.createTime, 'yyyy-MM-dd HH:mm')}"></td>
                                <td th:text="${item.cash}"></td>
                                <td th:text="${item.way eq 'wxpay'?'微信':'支付宝'}"></td>
                                <td th:text="${item.accountName}"></td>
                                <td>
                                    <font class="array_check_1" th:if="${item.isCheck eq 1}">通过</font>
                                    <font class="array_check_2" th:if="${item.isCheck eq 2}">未通过</font>
                                    <font class="array_check_3" th:if="${item.isCheck eq 3}">待审核</font>
                                </td>
                                <td th:text="${#dates.format(item.checkTime, 'yyyy-MM-dd HH:mm')}"></td>
                            </tr>

                            </tbody>
                        </table>
                    </div>

                    <!-- s: 分页 -->
                    <div class="manage-pagination-wrap">

                    </div>
                    <!-- e: 分页 -->

                    <div style="height: 100px;"></div>
                    <hr>

                    <p style="color: #999">
                        如需提现，请绑定提现账号～
                    </p>


                </div>

            </div>

        </div>
    </div>




</div>
<div layout:fragment="contentFooter">
</div>
</html>